package org.orz.story.member.api;

import org.orz.cloud.common.result.ResultDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PutMapping;

@FeignClient(value = "account",url="${feign-client-ip.account:}")
public interface MemPersonClient {

    @PutMapping("api/account/{userId}/{money}")
    ResultDTO debit(@PathVariable("userId") String userId, @PathVariable("money") Integer money);
}
